
using System;
using System.Windows.Forms;

using TestCases.StockData;
using NUnit.Framework;

using CTrading;
//using NUnit.Extensions.Forms.ExampleApplication;
using CStock;


namespace TestCases.UI.Dialogs 
{
	[TestFixture]
	public class TradeDialogTest : ProgramContext_TestCases
	{
		
		[SetUp] 
		public void Init() 
		{
			

		}
		[Test] 
		public void Show()
		{
            DialogTradeSystem tsd = new DialogTradeSystem(this.programContext);
            if (tsd.ShowDialog() == DialogResult.OK)
            {
                tsd.TradeSystem.Serialize();
                //tsd.TradeSystem.Serialize_AsTradeResult("");



                //this.programContext.Trade
                //return tsd.TradeSystem;
            }
            //DialogIndicatorBuilder dib = new DialogIndicatorBuilder(this.programContext);
            //dib.ShowDialog();
            ////refresh available indicators !
            //IndEvaluator.IndicatorsAvailable = null;
		}

		
	}
}
